package com.example.musiccommunity.bean;

public class Song {
    private String name;
    private String album;
    private String artist;
    private String rawResId;
    private String coverResId;
    private String style;

    private boolean isRandom;
// drawable目录中的封面文件名（不带扩展名）
    // raw目录中的音频文件名（不带扩展名）

    public Song(String name, String album, String artist, String rawResId, String coverResId, String style) {
        this.name = name;
        this.album = album;
        this.artist = artist;
        this.rawResId = rawResId;
        this.coverResId = coverResId;
        this.style = style;
    }

    @Override
    public String toString() {
        return "Song{" +
                "name='" + name + '\'' +
                ", album='" + album + '\'' +
                ", artist='" + artist + '\'' +
                ", rawResId='" + rawResId + '\'' +
                ", coverResId='" + coverResId + '\'' +
                ", style='" + style + '\'' +
                '}';
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAlbum() {
        return album;
    }

    public void setAlbum(String album) {
        this.album = album;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public String getRawResId() {
        return rawResId;
    }

    public void setRawResId(String rawResId) {
        this.rawResId = rawResId;
    }

    public String getCoverResId() {
        return coverResId;
    }

    public void setCoverResId(String coverResId) {
        this.coverResId = coverResId;
    }

    public boolean isRandom() {
        return isRandom;
    }

    public void setRandom(boolean random) {
        isRandom = random;
    }
}
